Flat memory model